add .gitignore entries for *.[is] below xen
authorJuergen Gross <jgross@suse.com>
Wed, 24 Nov 2021 10:03:09 +0000 (11:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Nov 2021 10:03:09 +0000 (11:03 +0100)
Instead of listing each single file with .s or .i suffixes in
.gitignore use pattern based entries. Restrict those to the xen
directory as we have e.g. tools/libs/stat/bindings/swig/xenstat.i in
our tree.

Below xen the pattern based entries are fine, as we have pattern rules
for creating *.s and *.i files in xen/Rules.mk.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
.gitignore

index 8ebb51b6c5e8025d9e9c1d00772fa875c59cd72c..9513506dd9482fddf230c5a5bcc511474d28ce32 100644 (file)
@@ -301,12 +301,13 @@ tools/xentrace/xentrace_setsize
 tools/xentrace/tbctl
 tools/xentrace/xenctx
 tools/xentrace/xentrace
+xen/**/*.i
+xen/**/*.s
 xen/.banner
 xen/.config
 xen/.config.old
 xen/.xen.elf32
 xen/System.map
-xen/arch/x86/asm-macros.i
 xen/arch/x86/boot/mkelf32
 xen/arch/x86/boot/cmdline.S
 xen/arch/x86/boot/reloc.S
@@ -322,7 +323,6 @@ xen/arch/*/efi/ebmalloc.c
 xen/arch/*/efi/efi.h
 xen/arch/*/efi/pe.c
 xen/arch/*/efi/runtime.c
-xen/asm-offsets.s
 xen/common/config_data.S
 xen/common/config.gz
 xen/include/headers*.chk